package cn.com.jinhao.provider.user.entity;

import cn.com.jinhao.hotline.commons.base.oracle.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * HotLine
 * <p>Description: 用户服务最顶层的类</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/10/18
 * @since 2019-10-18
 */
@ToString
@Data
public class Base extends BaseEntity {
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码", hidden = true)
    @Column(name = "code")
    private String code;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @Column(name = "stat")
    private Short stat;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Column(name = "memo")
    private String memo;

    @ApiModelProperty(value = "版本号")
    @Column(name = "version")
    private Integer version;
}

